//
//  CollectionNormalCell.swift
//  SwiftDemo
//
//  Created by 李国卿 on 2020/1/17.
//  Copyright © 2020 guoqing.li. All rights reserved.
//

import UIKit

class CollectionNormalCell: CollectionBaseCell {
    // 控件属性
    @IBOutlet weak var roomNameLabel: UILabel!
    // 定义模型属性
    override var anchor: AnchorModel?{
        didSet{
            // 1.将属性传递给父类
            super.anchor = anchor
           // 2.房间名称
           roomNameLabel.text = anchor?.room_name
        }
    }
}
